package com.lonely.inventory.domain.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lonely.common.core.domain.BaseEntity;
import com.lonely.inventory.enums.StorageArchiveEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * @author 黄志标
 * @date 2025-09-17 17:05
 * @Description: 库位档案表
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("sys_inventory_storage_archive")
public class SysInventoryStorageArchive extends BaseEntity implements Serializable {

    /**
     * 库位类型
     *
     * @see StorageArchiveEnum.StorageTypeEnum
     */
    private String storageType;

    /**
     * 库位前缀
     */
    private String storagePrefix;

    /**
     * 库位数字
     */
    private Integer storageNum;

    /**
     * 库位名称
     */
    private String storageName;

    /**
     * 库位所在分厂id
     */
    private Long factoryId;

    /**
     * 状态
     */
    private Integer status;


}
